아이디어 스 킬 Codeforce 383C. Propagating tree The tree consists of n nodes numbered from 1 to n, each node i having an initial value ai. This tree has a special property: when a value val is added to a value of node i, the value -val is added to values of all the ch... 데이터 구조아이디어 스 킬
Codeforce 383C. Propagating tree The tree consists of n nodes numbered from 1 to n, each node i having an initial value ai. This tree has a special property: when a value val is added to a value of node i, the value -val is added to values of all the ch... 데이터 구조아이디어 스 킬